package com.tinyframework.saas.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.tinyframework.common.support.pojo.AbstractObject;

/**
 * 
 * @author Jh
 * @since 2021-09-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("assassin_extra_reward_detail")
public class ExtraRewardDetailDO extends AbstractObject {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 主表ID
     */
    @TableField("extra_reward_id")
    private Long extraRewardId;

    /**
     * 岗位ID
     */
    @TableField("post_id")
    private Long postId;

    /**
     * 岗位等级ID
     */
    @TableField("post_level_id")
    private Long postLevelId;

    /**
     * 奖励条件
     */
    @TableField("reward_condition")
    private Integer rewardCondition;

    /**
     * 奖励金额
     */
    @TableField("reward_price")
    private BigDecimal rewardPrice;

    /**
     * 门店ID  0-表示所有门店使用
     */
    @TableField("store_id")
    private Long storeId;

    /**
     * 是否删除
     */
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;



}
